import { defineStore } from "pinia";
export const useExchangeData = defineStore("exchangeData", {
  state: () => {
    return {
        data: []
    };
  },
  // 也可以这样定义
  // state: () => ({ count: 0 })
  actions: {
    setData(data) {
        this.data = data;
    }
  },
});
